home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aac.d64
/
defkey.proc
< prev
next >
Wrap
Text File
|
2007-02-28
|
220b
|
12 lines
9000 //
9010 PROC DEFKEY(NO,X$) CLOSED
9020 ADDR:=KEYADDRESS(NO)
9030 FOR T:=1 TO 10 DO
9040 IF T<=LEN(X$) THEN
9050 POKE ADDR-1+T,ORD(X$(T))
9060 ELSE
9070 POKE ADDR-1+T,0
9080 ENDIF
9090 ENDFOR T
9100 ENDPROC DEFKEY